package com.hxgz.steel.dao;

import com.hxgz.steel.domain.AdManager;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("adManagerMapper")
public interface AdManagerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AdManager record);

    int insertSelective(AdManager record);

    AdManager selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdManager record);

    int updateByPrimaryKey(AdManager record);

    List<AdManager> getAdList(int status);


    List<AdManager> getBannerList(int status);
}